<script setup>
import {counterStore} from '../stores/couterStore'
const counter=counterStore();

</script>


<template>
    <div>
        <h3>组件2</h3>
        <p>count:{{ counter.count}}</p>
        
    </div>
</template>